package mediatypesnotinuse;

import java.util.ArrayList;
import java.util.Arrays;

import com.dnb.webmash.playmaker.shared.MediaType;
import com.dnb.webmash.playmaker.shared.PlayerType;

public class Scripts extends MediaType {

	@Override
	public String getTestPat() {
		return "script";
	}

	@Override
	public ArrayList<String> getMediaIDPats() {
		return new ArrayList<String>(Arrays.asList("[src]")); //all script tags with a source attribute should be re-embeddable here
	}

	@Override
	public String getSourceURL() {
		return null;
	}

	@Override
	public String getName() {
		return "Scripts";
	}

	@Override
	public PlayerType getPlayerType() {
		return PlayerType.SCRIPT;
	}

}
